package com.oms.domain;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * UserActivity entity. @author MyEclipse Persistence Tools
 */

public class UserActivity implements java.io.Serializable {

	

	/**
	 * 
	 */
	private static final long serialVersionUID = 468539699452058718L;
	
	// Fields
	private Integer userActivityId;
	private Activitysubsteptimearrangement activitysubsteptimearrangement;
	private Activity activity;
	private User user;
	private Timestamp applyTime;
	private Short joinState;
	private Short gradeOfActivity;
	private String evaluationOfAcitivity;
	private String trueName;
	private Short sex;
	private Long schoolNo;
	private String moblie;
	private String schoolCornet;
	private String qqNo;
	private String addressOfSchool;
	private String academy;
	private String major;
	private String class_;
	private Integer activityTotalPoints;
	private Integer grainRanking;
	private String gainLaurel;
	private Timestamp lastUpdateTime;
	private Boolean deleteTag;
	private String expandBar1;
	private String expandBar2;
	private Set applicantjoingroups = new HashSet(0);

	// Constructors

	/** default constructor */
	public UserActivity() {
	}

	/** minimal constructor */
	public UserActivity(Activity activity, User user, Timestamp applyTime,
			Short joinState, String trueName, Short sex, Boolean deleteTag) {
		this.activity = activity;
		this.user = user;
		this.applyTime = applyTime;
		this.joinState = joinState;
		this.trueName = trueName;
		this.sex = sex;
		this.deleteTag = deleteTag;
	}

	/** full constructor */
	public UserActivity(
			Activitysubsteptimearrangement activitysubsteptimearrangement,
			Activity activity, User user, Timestamp applyTime, Short joinState,
			Short gradeOfActivity, String evaluationOfAcitivity,
			String trueName, Short sex, Long schoolNo, String moblie,
			String schoolCornet, String qqNo, String addressOfSchool,
			String academy, String major, String class_,
			Integer activityTotalPoints, Integer grainRanking,
			String gainLaurel, Timestamp lastUpdateTime, Boolean deleteTag,
			String expandBar1, String expandBar2, Set applicantjoingroups) {
		this.activitysubsteptimearrangement = activitysubsteptimearrangement;
		this.activity = activity;
		this.user = user;
		this.applyTime = applyTime;
		this.joinState = joinState;
		this.gradeOfActivity = gradeOfActivity;
		this.evaluationOfAcitivity = evaluationOfAcitivity;
		this.trueName = trueName;
		this.sex = sex;
		this.schoolNo = schoolNo;
		this.moblie = moblie;
		this.schoolCornet = schoolCornet;
		this.qqNo = qqNo;
		this.addressOfSchool = addressOfSchool;
		this.academy = academy;
		this.major = major;
		this.class_ = class_;
		this.activityTotalPoints = activityTotalPoints;
		this.grainRanking = grainRanking;
		this.gainLaurel = gainLaurel;
		this.lastUpdateTime = lastUpdateTime;
		this.deleteTag = deleteTag;
		this.expandBar1 = expandBar1;
		this.expandBar2 = expandBar2;
		this.applicantjoingroups = applicantjoingroups;
	}

	// Property accessors

	public Integer getUserActivityId() {
		return this.userActivityId;
	}

	public void setUserActivityId(Integer userActivityId) {
		this.userActivityId = userActivityId;
	}

	public Activitysubsteptimearrangement getActivitysubsteptimearrangement() {
		return this.activitysubsteptimearrangement;
	}

	public void setActivitysubsteptimearrangement(
			Activitysubsteptimearrangement activitysubsteptimearrangement) {
		this.activitysubsteptimearrangement = activitysubsteptimearrangement;
	}

	public Activity getActivity() {
		return this.activity;
	}

	public void setActivity(Activity activity) {
		this.activity = activity;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Timestamp getApplyTime() {
		return this.applyTime;
	}

	public void setApplyTime(Timestamp applyTime) {
		this.applyTime = applyTime;
	}

	public Short getJoinState() {
		return this.joinState;
	}

	public void setJoinState(Short joinState) {
		this.joinState = joinState;
	}

	public Short getGradeOfActivity() {
		return this.gradeOfActivity;
	}

	public void setGradeOfActivity(Short gradeOfActivity) {
		this.gradeOfActivity = gradeOfActivity;
	}

	public String getEvaluationOfAcitivity() {
		return this.evaluationOfAcitivity;
	}

	public void setEvaluationOfAcitivity(String evaluationOfAcitivity) {
		this.evaluationOfAcitivity = evaluationOfAcitivity;
	}

	public String getTrueName() {
		return this.trueName;
	}

	public void setTrueName(String trueName) {
		this.trueName = trueName;
	}

	public Short getSex() {
		return this.sex;
	}

	public void setSex(Short sex) {
		this.sex = sex;
	}

	public Long getSchoolNo() {
		return this.schoolNo;
	}

	public void setSchoolNo(Long schoolNo) {
		this.schoolNo = schoolNo;
	}

	public String getMoblie() {
		return this.moblie;
	}

	public void setMoblie(String moblie) {
		this.moblie = moblie;
	}

	public String getSchoolCornet() {
		return this.schoolCornet;
	}

	public void setSchoolCornet(String schoolCornet) {
		this.schoolCornet = schoolCornet;
	}

	public String getQqNo() {
		return this.qqNo;
	}

	public void setQqNo(String qqNo) {
		this.qqNo = qqNo;
	}

	public String getAddressOfSchool() {
		return this.addressOfSchool;
	}

	public void setAddressOfSchool(String addressOfSchool) {
		this.addressOfSchool = addressOfSchool;
	}

	public String getAcademy() {
		return this.academy;
	}

	public void setAcademy(String academy) {
		this.academy = academy;
	}

	public String getMajor() {
		return this.major;
	}

	public void setMajor(String major) {
		this.major = major;
	}

	public String getClass_() {
		return this.class_;
	}

	public void setClass_(String class_) {
		this.class_ = class_;
	}

	public Integer getActivityTotalPoints() {
		return this.activityTotalPoints;
	}

	public void setActivityTotalPoints(Integer activityTotalPoints) {
		this.activityTotalPoints = activityTotalPoints;
	}

	public Integer getGrainRanking() {
		return this.grainRanking;
	}

	public void setGrainRanking(Integer grainRanking) {
		this.grainRanking = grainRanking;
	}

	public String getGainLaurel() {
		return this.gainLaurel;
	}

	public void setGainLaurel(String gainLaurel) {
		this.gainLaurel = gainLaurel;
	}

	public Timestamp getLastUpdateTime() {
		return this.lastUpdateTime;
	}

	public void setLastUpdateTime(Timestamp lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public Boolean getDeleteTag() {
		return this.deleteTag;
	}

	public void setDeleteTag(Boolean deleteTag) {
		this.deleteTag = deleteTag;
	}

	public String getExpandBar1() {
		return this.expandBar1;
	}

	public void setExpandBar1(String expandBar1) {
		this.expandBar1 = expandBar1;
	}

	public String getExpandBar2() {
		return this.expandBar2;
	}

	public void setExpandBar2(String expandBar2) {
		this.expandBar2 = expandBar2;
	}

	public Set getApplicantjoingroups() {
		return this.applicantjoingroups;
	}

	public void setApplicantjoingroups(Set applicantjoingroups) {
		this.applicantjoingroups = applicantjoingroups;
	}

}